package com.ys.nms.module.business.controller.admin.linksManual.vo;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;

import java.util.List;

@Data
public class EChartsLinkData {

    @JsonProperty("data")
    private List<Node> data;

    @JsonProperty("links")
    private List<Link> links;

    // Getters and setters
    @Data
    public static class Node {

        @JsonProperty("id")
        private String id;

        @JsonProperty("name")
        private String name;

        @JsonProperty("symbol")
        private String symbol; // This can be null or the image URL

    }

    @Data
    public static class Link {
        @JsonProperty("source")
        private String source;

        @JsonProperty("target")
        private String target;

        @JsonProperty("value")
        private String value;


    }


    private List<LinksManualRespVO> respVO;
}